package com.neusoft.neu24;


import com.neusoft.neu24.entity.Role;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MainApp {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("spring.xml");
        Role role = (Role) context.getBean("role");
        System.out.println(role);
    }
}
